package com.naiterui.ehp.bp.security.vo;

import lombok.AllArgsConstructor;
import lombok.Data;

@Data
@AllArgsConstructor
public class AuthorizationInfoVO implements java.io.Serializable {

  private static final long serialVersionUID = 1186836014584807180L;

  /**
   * header 中名称
   */
  private String headerName;

  private String token;

  private Object user;

  private FaceIdVO faceIdVO;

  public AuthorizationInfoVO(FaceIdVO faceIdVO) {
    this.faceIdVO = faceIdVO;
  }

  public AuthorizationInfoVO(String headerName, String token, Object user) {
    this.headerName = headerName;
    this.token = token;
    this.user = user;
  }
}